<?php


namespace app\api\validate;


use think\Validate;

class Dynamic_dynamic extends Validate
{
    protected $rule = [
        'is_set_top'  => 'number|between:0,1',
        'permission'   => 'number|between:0,3',
        'see_user_list' => 'array',
        'no_see_user_list' => 'array',
    ];
    protected $message = [
        'is_set_top'  =>  'is_set_top参数错误',
        'permission' =>  'permission参数错误',
        'see_user_list' =>  'see_user_list参数错误',
        'no_see_user_list' =>  'no_see_user_list参数错误',
    ];
}